home *** CD-ROM | disk | FTP | other *** search
- VERSION BUILD=3600128
- 'Demonstrate the GOTOPUP / LEAVEPOP and TRAPPOPUP commands
- 'for handling popups and new browser windows.
- URL GOTO=http://www.iopus.com/iim/demo/new-window.htm
- SIZE X=664 Y=609
- GOTOPOPUP
- TAG POS=1 TYPE=FONT ATTR=TXT:Open<SP>new<SP>window<SP>-<SP>Javascript<SP>method
- 'This next command run *in* the popup!
- WAIT SECONDS=2
- TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:DataEntry ATTR=NAME:FNAME CONTENT=1
- TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:DataEntry ATTR=NAME:SendButton&&VALUE:Click<SP>to<SP>submit<SP>data
- LEAVEPOPUP
- 'Ok, we are back to the main page
- TAG POS=1 TYPE=A ATTR=TXT:Open<SP>new<SP>window<SP>-<SP>HTML<SP>method
- 'Make the popup page the new main page
- TRAPPOPUP
- TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:DataEntry ATTR=NAME:FNAME CONTENT=2
- TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:DataEntry ATTR=NAME:SendButton&&VALUE:Click<SP>to<SP>submit<SP>data
- URL GOTO=http://www.iopus.com/iim/messages/done.htm
-